<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link charset="utf-8" rel="stylesheet" href="__PUBLIC__/static/asset/bootstrap/3.3.6/css/bootstrap.min.css">
	</head>
	<body>
		<form action="{:url('manage/standard/edit')}" method="post">
		<table class="table table-bordered">
			<tr>
				<td>单字母</td>
				<td>
					<input type="text" name="single" value="{$standard.single}">
					<input type="hidden" name="id" value="{$standard.id}">
				</td>
				<td>多字母</td>
				<td>
					<input type="text" name="full" value="{$standard.full}">
				</td>
                <td>中文名称</td>
				<td>
					<input type="text" name="name" value="{$standard.name}">
				</td>
			</tr>
			<tr>
				<td>残基</td>
				<td>
					<input type="text" name="residue" value="{$standard.residue}">
				</td>
                <td>残基分子量</td>
				<td>
					<input type="text" name="residue_weight" value="{$standard.residue_weight}">
				</td>
				<td></td>
				<td></td>
			</tr>
			<tr>
				<td>C</td>
				<td>
					<input type="text" name="c" value="{$standard.c}">
				</td>
				<td>H</td>
				<td>
					<input type="text" name="h" value="{$standard.h}">
				</td>
				<td>N</td>
				<td>
					<input type="text" name="n" value="{$standard.n}">
				</td>
			</tr>
			<tr>
				<td>O</td>
				<td>
					<input type="text" name="o" value="{$standard.o}">
				</td>
				<td>S</td>
				<td>
					<input type="text" name="s" value="{$standard.s}">
				</td>
				<td>P</td>
				<td>
					<input type="text" name="p" value="{$standard.p}">
				</td>
			</tr>
			<tr>
				<td>Cl</td>
				<td>
					<input type="text" name="cl" value="{$standard.cl}">
				</td>
				<td>Se</td>
				<td>
					<input type="text" name="se" value="{$standard.se}">
				</td>
				<td></td>
				<td></td>
			</tr>
			<tr>
				<td>亲水性</td>
				<td>
					<input type="text" name="hydrophily" value="{$standard.hydrophily}">
				</td>
				<td>纯化度</td>
				<td>
					<input type="text" name="purify" value="{$standard.purify}">
				</td>
				<td></td>
				<td></td>
			</tr>
			<tr>
				<td>酸个数</td>
				<td>
					<input type="text" name="acid" value="{$standard.acid}">
				</td>
				<td>碱个数</td>
				<td>
					<input type="text" name="base" value="{$standard.base}">
				</td>
				<td></td>
				<td></td>
			</tr>
			<tr>
				<td>类型</td>
				<td>
					<select name="flag" id="flag">
						<option value="1">普通氨基酸</option>
						<option value="2">N-Term</option>
						<option value="3">C-Term</option>
						<option value="4">4类型氨基酸</option>
						<option value="5">5类型氨基酸</option>
						<option value="6">6类型氨基酸</option>
						<option value="7">7类型氨基酸</option>
						<option value="8">8类型氨基酸</option>
					</select>
				</td>
				<td>Term值</td>
				<td>
					<input type="text" name="term_value" value="{$standard.term_value}">
				</td>
				<td>成环可行性</td>
				<td>
					<select name="cyclo_enable" id="cyclo_enable">
						<option value="0">不可成环</option>
						<option value="-1">酸性</option>
						<option value="1">碱性</option>
						<option value="2">二硫键</option>
					</select>
				</td>
			</tr>
			<tr>
				<td colspan="6" class="text-right">
					<button type="reset" class="btn btn-default"> 重置 </button>
					<button type="submit" class="btn btn-primary"> 更新 </button>
				</td>
			</tr>
		</table>
		</form>
		
		<script src="__PUBLIC__/static/asset/jquery/2.2.4/jquery.js"></script>
		<script>
			$(document).ready(function(){
				$('#cyclo_enable').val({$standard.cyclo_enable});
				$('#flag').val({$standard.flag});
			});
		</script>
	</body>
</html>
